package com.wmx.service.impl;

import com.wmx.repository.EmpDao;
import com.wmx.service.EmpService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 员工信息-业务层接口实现
 *
 * @author wangMaoXiong
 * @version 1.0
 * @date 2022/4/9 8:33
 */
@Service
public class EmpServiceImpl implements EmpService {

    @Resource
    private EmpDao empDao;

    @Override
    public List<Map<String, Object>> findAll() {
        List<Map<String, Object>> mapList = empDao.findAll();
        return mapList;
    }


}
